package vamp_serviceweb

class Constructor {

    String name;

    static constraints = {
        name()
    }

    static hasMany = [vehicules:Vehicle]

    static mapping = {
        id column: 'idconstructor'
        vehicules cascade: 'all-delete-orphan'
    }
}
